home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / misc / chemistr / chem101.sit / Chem 101 / card_17215.txt < prev    next >
Text File  |  1989-08-27  |  5KB  |  230 lines

  1. -- card: 17215 from stack: in
  2. -- bmap block id: 33484
  3. -- flags: 4000
  4. -- background id: 17456
  5. -- name: Workbook
  6.  
  7.  
  8. -- part 8 (field)
  9. -- low flags: 81
  10. -- high flags: 0002
  11. -- rect: left=45 top=251 right=291 bottom=471
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 2
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: calc
  20.  
  21.  
  22. -- part 11 (button)
  23. -- low flags: 00
  24. -- high flags: 0001
  25. -- rect: left=222 top=315 right=338 bottom=248
  26. -- title width / last selected line: 0
  27. -- icon id / first selected line: 0 / 0
  28. -- text alignment: 1
  29. -- font id: 0
  30. -- text size: 12
  31. -- style flags: 0
  32. -- line height: 16
  33. -- part name: Prev
  34. ----- HyperTalk script -----
  35. on mouseUp
  36.  
  37. end mouseUp
  38.  
  39.  
  40.  
  41. -- part 16 (field)
  42. -- low flags: 01
  43. -- high flags: 0000
  44. -- rect: left=98 top=60 right=77 bottom=209
  45. -- title width / last selected line: 0
  46. -- icon id / first selected line: 0 / 0
  47. -- text alignment: 1
  48. -- font id: 0
  49. -- text size: 12
  50. -- style flags: 8192
  51. -- line height: 16
  52. -- part name: 
  53.  
  54.  
  55. -- part 18 (button)
  56. -- low flags: 00
  57. -- high flags: A002
  58. -- rect: left=276 top=196 right=227 bottom=436
  59. -- title width / last selected line: 0
  60. -- icon id / first selected line: 0 / 0
  61. -- text alignment: 1
  62. -- font id: 0
  63. -- text size: 12
  64. -- style flags: 8192
  65. -- line height: 16
  66. -- part name: Density
  67. ----- HyperTalk script -----
  68. on mousedown
  69.   doPopup
  70. end mousedown
  71.  
  72.  
  73. on doPopUp
  74.   put "Density 1,Density 2" into questions
  75.   put 0 into question
  76.   get PopUpMenu( questions, question, gmouseH(), gmouseV() )
  77.  
  78.   if it is not empty then
  79.     put it into question
  80.     visual effect dissolve
  81.     put item question of questions into choice
  82.     go to card choice
  83.   end if
  84. end doPopUp
  85.  
  86.  
  87.  
  88.  
  89. -- part 19 (button)
  90. -- low flags: 00
  91. -- high flags: A002
  92. -- rect: left=81 top=196 right=227 bottom=241
  93. -- title width / last selected line: 0
  94. -- icon id / first selected line: 0 / 0
  95. -- text alignment: 1
  96. -- font id: 0
  97. -- text size: 12
  98. -- style flags: 8192
  99. -- line height: 16
  100. -- part name: Metric Conversion
  101. ----- HyperTalk script -----
  102. on mousedown
  103.   doPopup
  104. end mousedown
  105.  
  106.  
  107. on doPopUp
  108.   put "Metric Conversion 1,Metric Conversion 2,Metric Conversion 3,Metric Conversion 4,Metric Conversion 5" into questions
  109.   put 0 into question
  110.   get PopUpMenu( questions, question, gmouseH(), gmouseV() )
  111.  
  112.   if it is not empty then
  113.     put it into question
  114.     visual effect dissolve
  115.     put item question of questions into choice
  116.     go to card choice
  117.   end if
  118. end doPopUp
  119.  
  120.  
  121.  
  122. -- part 21 (button)
  123. -- low flags: 00
  124. -- high flags: A002
  125. -- rect: left=176 top=132 right=163 bottom=336
  126. -- title width / last selected line: 0
  127. -- icon id / first selected line: 0 / 0
  128. -- text alignment: 1
  129. -- font id: 0
  130. -- text size: 12
  131. -- style flags: 8192
  132. -- line height: 16
  133. -- part name: How to use...
  134. ----- HyperTalk script -----
  135. on mouseup
  136.   visual effect dissolve
  137.   go to card "Workbook Demo"
  138. end mouseup
  139.  
  140.  
  141.  
  142.  
  143. -- part 22 (field)
  144. -- low flags: 01
  145. -- high flags: 0000
  146. -- rect: left=274 top=319 right=336 bottom=442
  147. -- title width / last selected line: 0
  148. -- icon id / first selected line: 0 / 0
  149. -- text alignment: 0
  150. -- font id: 3
  151. -- text size: 9
  152. -- style flags: 0
  153. -- line height: 12
  154. -- part name: cont
  155.  
  156.  
  157. -- part 23 (button)
  158. -- low flags: 00
  159. -- high flags: A002
  160. -- rect: left=81 top=253 right=284 bottom=241
  161. -- title width / last selected line: 0
  162. -- icon id / first selected line: 0 / 0
  163. -- text alignment: 1
  164. -- font id: 0
  165. -- text size: 12
  166. -- style flags: 8192
  167. -- line height: 16
  168. -- part name: Temperature 
  169. ----- HyperTalk script -----
  170. on mousedown
  171.   doPopup
  172. end mousedown
  173.  
  174.  
  175. on doPopUp
  176.   put "Temperature 1,Temperature 2" into questions
  177.   put 0 into question
  178.   get PopUpMenu( questions, question, gmouseH(), gmouseV() )
  179.  
  180.   if it is not empty then
  181.     put it into question
  182.     visual effect dissolve
  183.     put item question of questions into choice
  184.     go to card choice
  185.   end if
  186. end doPopUp
  187.  
  188.  
  189.  
  190. -- part 24 (button)
  191. -- low flags: 00
  192. -- high flags: A002
  193. -- rect: left=276 top=253 right=284 bottom=436
  194. -- title width / last selected line: 0
  195. -- icon id / first selected line: 0 / 0
  196. -- text alignment: 1
  197. -- font id: 0
  198. -- text size: 12
  199. -- style flags: 8192
  200. -- line height: 16
  201. -- part name: Mole
  202. ----- HyperTalk script -----
  203. on mousedown
  204.   doPopup
  205. end mousedown
  206.  
  207.  
  208. on doPopUp
  209.   put "Mole 1,Mole 2" into questions
  210.   put 0 into question
  211.   get PopUpMenu( questions, question, gmouseH(), gmouseV() )
  212.  
  213.   if it is not empty then
  214.     put it into question
  215.     visual effect dissolve
  216.     put item question of questions into choice
  217.     go to card choice
  218.   end if
  219. end doPopUp
  220.  
  221.  
  222.  
  223.  
  224. -- part contents for card part 16
  225. ----- text -----
  226. Table of Contents
  227.  
  228. -- part contents for card part 22
  229. ----- text -----
  230. Hold down button for menu